<# # It is recommended to test the script on a local machine for its purpose and effects. # ManageEngine Endpoint Central will not be responsible for any # damage/loss to the data/setup based on the behavior of the script. # Description: Script is designed to check the status of IPv6. # Configuration Type - COMPUTER #> # Get all network interfaces with IPv6 enabled $interfaces = Get-NetAdapterBinding | Where-Object { $_.ComponentID -eq 'ms_tcpip6' -and $_.Enabled -eq 'True' } # Check if any interfaces with IPv6 enabled were found if ($interfaces) { Write-Host "IPv6 is Enabled" # Iterate through each interface foreach ($interface in $interfaces) { # Output the interface name Write-Host "Interface: $($interface.Name)" } } else { # No interfaces with IPv6 enabled were found Write-Host "No interfaces with IPv6 enabled were found." }